package com.soft.admin.action;

import java.util.List;

import javax.annotation.Resource;

import com.soft.admin.service.IAdminMenuService;
import com.soft.mapping.AdminMenu;
import com.soft.util.MyActionSupport;

public class AdminMenuAction extends MyActionSupport {

	@Resource
	private IAdminMenuService iAdminMenuService;

	@Override
	public String execute() throws Exception {

		List<AdminMenu> adminMenuList = iAdminMenuService.getAdminMenuList();

		// System.out.println(adminMenuList);
		request.setAttribute("adminMenuList", adminMenuList);
		return super.execute();
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

}
